package com.example.prison.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.prison.entity.ExitInfo;
import com.example.prison.service.ExitInfoService;
import com.example.prison.mapper.ExitInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author jiang
* @description 针对表【exit_info】的数据库操作Service实现
* @createDate 2023-06-13 09:13:13
*/
@Service
public class ExitInfoServiceImpl extends ServiceImpl<ExitInfoMapper, ExitInfo>
    implements ExitInfoService{

    @Autowired
    private ExitInfoMapper exitInfoMapper;

    @Override
    public int updateExit(String exitTime) {
        exitInfoMapper.updateExit(exitTime);
        return 1;
    }

}




